package com.gao.xml.jaxb.xml;

import lombok.Data;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlValue;

/**
 * @author GaoXi
 * @date 2021/8/18 15:16
 */
@Data
@XmlAccessorType(XmlAccessType.NONE)
public class IdEntity {

    @XmlAttribute
    private String size ="1";

    @XmlValue
    private String idValue="000010001";

}
